package online.mapper;

import online.entity.UserDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Auther: 狼芒
 * @Date: 2021/9/12 19:23
 * @Descrintion:
 * @version: 1.0
 */
@Mapper
public interface SystemUserMapper {

    public UserDao getUser(Long id);

    @Select("select * from system_user")
    public List<UserDao> getAllUser();
}
